{%include file="m.index.header.tpl.php"%}
<!--主体部分-->

<div class="container" style="margin-top:70px;">
    <div class="row" style="margin-right:10%;">
        <div  class="col-xs-sm  text-right" > <a class="btn btn-primary" href="index.php?a=goods.goodsadd" style="width:30%">增加</a></div>
    </div>
    <!--row  end-->
    <div class="row" style="margin-top:15px;margin-left:1px; margin-right:1px;">
        {%foreach from=$goods_lists key=key item=value%}

        <table class="table table-striped table-bordered text-center"  id="middles">
            <tr>
                <td>领用人</td>
                <td>{%$value.goods_name%}</td>
            </tr>
            <tr>
                <td>领用时间</td>
                <td>{%$value.goods_date%}</td>
            </tr>
            <tr>
                <td>领用物品</td>
                <td>{%$value.goods_content%}</td>
            </tr>
            <tr>
                <td>用途</td>
                <td>{%$value.goods_use%}</td>
            </tr>
            <tr>
                <td>操作</td>
                <td >
                    <a href="index.php?a=goods.goodsupdate&goods_id={%$value.goods_id%}" class="btn btn-warning btn-sm"  title="修改"> <i class="fa fa-edit (alias)"></i>
                    修改</a></td>
            </tr>
        </table>
        {%/foreach%}
    </div>
</div>
<!--container  end-->

<!--主体部分  end-->
<!--底部-->
{%include file="m.index.footer.tpl.php"%}
<!--container  end-->

<!--底部end-->
<script src="mstatic/js/jquery.min.js" type="text/javascript"></script>
<script src="mstatic/js/bootstrap.min.js"  type="text/javascript"></script>
<script src="mstatic/js/jquery-ui.js"  type="text/javascript"></script><!--日历-->

<!--日历-->
<script>
    $(function() {
        $( "#datepicker" ).datepicker({

            changeMonth: true,
            changeYear: true

        });

        $( "#datepicker2" ).datepicker({

            changeMonth: true,
            changeYear: true

        });
    });
</script>
</body>
</html>
